package com.tian.dao;

import com.github.pagehelper.PageInfo;
import com.github.pagehelper.PageInterceptor;
import com.tian.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author Tian
* @description 针对表【jd_user】的数据库操作Mapper
* @createDate 2024-03-06 16:17:43
* @Entity com.tian.entity.User
*/

public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    List<User> selectAll(Integer current, Integer pageSize);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

}
